package com.production.CoursePlatform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;
import lombok.Getter;

import java.time.LocalDateTime;

@Data
@TableName("submission")
public class Submission {
    @Getter
    @TableId(type = IdType.INPUT)
    @TableField("sh_id")
    private int shID;
    @Getter
    @TableField("cts_id")
    private int ctsID;
    @Getter
    @TableField("ah_id")
    private int ahID;
    @Getter
    @TableField("submit_time")
    private LocalDateTime submitTime;
    @Getter
    @TableField("submit_content")
    private String submitContent;
    @Getter
    @TableField("attachment")
    private int attachment;
}
